package cn.iocoder.yudao.module.system.controller.admin.dept.vo.jd;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Schema(description = "回调接口调用示例（代理商调京东）--请求参数")
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class ProduceResultReqVO {
//    {
//        "agentOrderNo":"45001",
//            "jdOrderNo":10002,
//            "produceStatus":1,
//            "product":"zr75dzeGdwf4MqR/6Y9oGkGYq0CBSHwhOhyCvEBK18g=",
//            "quantity":1,
//            "sign":"4ca0b45b999c1ea513c557a70b8a8865",
//            "timestamp":"20210208112401",
//            "vendorId":1201
//    }
    @Schema(description = "代理商订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "代理商订单号不能为空")
    private String agentOrderNo;
    @Schema(description = "京东订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "京东订单号不能为空")
    private Long jdOrderNo;
    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "订单状态不能为空")
    private Integer produceStatus;
    @Schema(description = "卡密信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private String product;
    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量不能为空")
    private Integer quantity;
    @Schema(description = "签名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "签名不能为空")
    private String sign;
    @Schema(description = "访问时间戳", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "访问时间戳不能为空")
    private String timestamp;
    @Schema(description = "代理商ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "代理商ID不能为空")
    private Integer vendorId;
}